@model Decimal?
<input asp-for="@Model" asp-format="{0:F2}" class="layui-input" />
@{
    var postfix = "";
    if (ViewData.ContainsKey("postfix") && ViewData["postfix"] != null)
    {
        postfix = ViewData["postfix"].ToString();
    }
}@postfix